package com.dzx.design.behavioral.iterator;

/**
 * @author dzx
 * @ClassName:
 * @Description:
 * @date 2019年08月09日 14:12:05
 */
public class Course {
    private String name;
    public Course(String name) {
        this.name = name;
    }
    public String getName() {
        return name;
    }

    @Override
    public String toString() {
        return "Course{" +
                "name='" + name + '\'' +
                '}';
    }
}
